package top.infopub.mgr.ic.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.ic.dao.MonthCtrlMileDao;
import top.infopub.model.ic.MonthCtrlMile;
import top.infopub.mgr.ic.service.MonthCtrlMileService;

@Service
public class MonthCtrlMileServiceImpl extends GenericServiceImpl<MonthCtrlMile, String> implements
		MonthCtrlMileService {

	@Autowired
	private MonthCtrlMileDao monthCtrlMileDao;
	
	@Override
	public GenericDao<MonthCtrlMile, String> getDao() {
		return monthCtrlMileDao;
	}

    @Override
    public List<MonthCtrlMile> selectBySubId(String subId) {
        return monthCtrlMileDao.selectBySubId(subId);
    }

}